import HomePage from './pages/home.vue';
import AboutPage from './pages/about.vue';
import FormPage from './pages/form.vue';
import DynamicRoutePage from './pages/dynamic-route.vue';
import NotFoundPage from './pages/not-found.vue';

import PanelLeftPage from './pages/panel-left.vue';
import PanelRightPage from './pages/panel-right.vue';
import ZHome from './pages/zhome.vue';
import BookDetail from './pages/bookdetail.vue';
import BookComment from './pages/bookcomment.vue'
import ReadBook from './pages/readbook.vue'
import BookIndex from './pages/bookindex.vue'


export default [
  {
    path: '/',
    component: ZHome,
  },
  {
    path:'/bookdetail',
    component:BookDetail,
  },{
    path:'/bookcomment',
    component:BookComment,
  },
  {
    path:'/readbook',
    component:ReadBook,
  },
  {
    path:'/bookindex',
    component:BookIndex
  },
  {
    path: '/zhome/',
    component: ZHome,
  },
  {
    path: '/panel-left/',
    component: PanelLeftPage,
  },
  {
    path: '/panel-right/',
    component: PanelRightPage,
  },
  {
    path: '/about/',
    component: AboutPage,
  },
  {
    path: '/form/',
    component: FormPage,
  },
  {
    path: '/dynamic-route/blog/:blogId/post/:postId/',
    component: DynamicRoutePage,
  },
  {
    path: '(.*)',
    component: NotFoundPage,
  },
];
